package com.dmap.admin.service.backgroundv2;

import com.dmap.admin.controller.backgroundv2.param.UserToPermissionParam;
import com.dmap.admin.po.UserToPermission;

import java.util.List;

/**
 * \* User: helei
 * \* Date: 11/05/18
 * \* Description:用户权限表接口
 * \
 */
public interface UserToPermissionService {

    UserToPermission insert(UserToPermissionParam param);

    boolean deleteByUserId(Long userId);

    List<UserToPermission> selectByUserId(Long userId);

}